package com.limedia.explorer.constant;

import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.SynchronousQueue;

import limedia.sdk.api.realtime.TSPcmData;

public class Constant {
	
	public static final String VIDEO_DECODER_TYPE_H264 = "video/avc";
	public static final String VIDEO_DECODER_TYPE_H265 = "video/hevc";
	
	public static final int VIDEO_FRAME_RATE_30 = 25;
	public static final int VIDEO_BIT_RATE_DEFAULT = (int) (1000 * 512);
	
	public static boolean isWithSevenByte = true;
	public static long countnumber = 0;
	
	public static final ConcurrentLinkedQueue<TSPcmData> queueUpload = new ConcurrentLinkedQueue<TSPcmData>();
	
	public static volatile boolean switchingUploadClient = false;
	
	public static final String ACTION_SERVICE_RESOLVED = "ACTION_SERVICE_RESOLVED";
	public static final String ACTION_SERVICE_REMOVED = "ACTION_SERVICE_REMOVED";
	public static final String ACTION_SERVICE_ADDED = "ACTION_SERVICE_ADDED";
	
	public static final String SUFFIX_RTSP_ADDR = ":8899/live";
	public static final String PREFIX_RTSP_ADDR = "rtsp://";
//	public final static String DEFAULT_HTTP_SERVER = "https://192.168.6.174:8443/thomas-0.1";
	public final static String DEFAULT_HTTP_SERVER = "https://23.83.232.128:8443/thomas-0.1";
	public String HTTP_SERVER = DEFAULT_HTTP_SERVER;
	public static final String RESULT_OK = "OK";
	public static final String RESULT_ID_PWD_ERROR = "账号或密码错误";
	public static long timeOut = 10;
	public static String pushUrl;
}
